package com.example.basic.service.fallback;

import org.springframework.stereotype.Component;

import com.example.basic.service.ISysUserService;
import com.example.util.APIState;
import com.example.util.AjaxResult;

@Component
public class SysUserServiceFallback implements ISysUserService {

	@Override
	public AjaxResult page() {

		return new AjaxResult(APIState.S500, "服务熔断");
	}

	@Override
	public AjaxResult login(String account, String password) {
		return new AjaxResult(APIState.S500, "服务熔断");
	}

	@Override
	public AjaxResult logout() {
		// TODO Auto-generated method stub
		return new AjaxResult(APIState.S500, "服务熔断");
	}

}
